package com.wanho.java159.cb.po;

import com.wanho.java159.base.po.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;

public class Item extends BaseEntity {
    private Long itemTypeId;

    private String itemPic;

    private String itemName;

    private String itemSpecification;

    private String itemModel;

    private String itemUnit;

    private BigDecimal itemPrice;


    public Long getItemTypeId() {
        return itemTypeId;
    }

    public void setItemTypeId(Long itemTypeId) {
        this.itemTypeId = itemTypeId;
    }

    public String getItemPic() {
        return itemPic;
    }

    public void setItemPic(String itemPic) {
        this.itemPic = itemPic == null ? null : itemPic.trim();
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName == null ? null : itemName.trim();
    }

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification == null ? null : itemSpecification.trim();
    }

    public String getItemModel() {
        return itemModel;
    }

    public void setItemModel(String itemModel) {
        this.itemModel = itemModel == null ? null : itemModel.trim();
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public void setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit == null ? null : itemUnit.trim();
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    @Override
    public String toString() {
        return "Item{" +
                "itemTypeId=" + itemTypeId +
                ", itemPic='" + itemPic + '\'' +
                ", itemName='" + itemName + '\'' +
                ", itemSpecification='" + itemSpecification + '\'' +
                ", itemModel='" + itemModel + '\'' +
                ", itemUnit='" + itemUnit + '\'' +
                ", itemPrice=" + itemPrice +
                "} " + super.toString();
    }
}
